<template>
  <router-link to="/">
    <div class="cityHeader">
      城市选择
      <div class="iconfont backHome">&#xe658;</div>
    </div>
  </router-link>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl'
  .cityHeader
    position: relative
    overflow: hidden
    height: $headerHeight
    line-height: $headerHeight
    background-color: $bgColor
    text-align: center
    color: #fff
    font-size: .32rem
    .backHome
      position: absolute
      top: 0
      left: 0
      font-size: .5rem
      text-align: center
      width: .64rem
</style>
